package com.practice.mapper;

import com.practice.entity.UserEntity;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName UserMapper
 * @Description TODO
 * @Author KunxianLi
 * Date 2020/7/18 15:18
 * Version 1.0
 **/
@Repository
public class UserMapper {

    public List<UserEntity> list(){
        ArrayList<UserEntity> list = new ArrayList<>();

        UserEntity user = new UserEntity();
        user.setId(new Long(1));
        user.setUsername("admin");
        user.setPassword("123456");
        user.setMobile("18888888888");
        user.setStatus(1);
        list.add(user);
        return list;

    }

}
